import request from '@/utils/request'
// import { getToken } from '@/utils/storage'

// 获取二维码
export const getCodeAPI = data => {
  return request({
    url: '/au/code',
    method: 'post',
    data
  })
}
// 登录
export const loginAPI = data => {
  return request({
    url: '/au/login',
    method: 'post',
    data
  })
}
// 获取用户信息
export const userInfoAPI = () => {
  return request({
    url: '/au/info',
    flag: true
  })
}
